<template>
  <el-dialog
    title="请输入超速阈值（单位：km/h）"
    :visible.sync="dialogVisible"
    width="300px"
    class="wifi-trans"
  >

    <el-input v-model="value" size="small"></el-input>
    <el-checkbox v-model="checked">对该车组下的所有车组进行设置</el-checkbox>
    <span slot="footer" class="dialog-footer" style="text-align: center;">
      <!-- <el-button @click="dialogVisible = false">取 消</el-button> -->
      <el-button type="primary" @click="dialogVisible = false" size="mini"
        >确定</el-button
      >
      <el-button @click="dialogVisible = false" size="mini"
        >取消</el-button
      >
    </span>
  </el-dialog>
</template>

<script>
export default {
  data() {
    return {
      dialogVisible: false,
      checked: false,
      value: '',
      form: {
        clock: false,
        firstTime: '00:00'
      }
    };
  },

  methods: {
    show() {
      this.dialogVisible = !this.dialogVisible;
    }
  }
};
</script>

<style lang="scss">
.wifi-trans {
  .el-dialog__header {
    background-color: #479de6 !important;

    .el-dialog__title,
    .el-dialog__close {
      color: #fff;
    }
  }

  .el-dialog__body {
    padding: 20px;
  }

  .el-dialog__footer {
    text-align: center;
  }

  .el-input {
    margin-bottom: 10px;
  }
}
</style>
